package com.hjm.project.ShopOrder.ShopOrder.service;

import java.util.List;
import java.util.Map;

import com.hjm.project.ShopOrder.ShopOrder.domain.ShopOrder;
import com.hjm.project.ShopOrderBreak.ShopOrderBreak.domain.ShopOrderBreak;

/**
 * 订单Service接口
 * 
 * @author ShopOrder
 * @date 2020-11-30
 */
public interface IShopOrderService {
    /**
     * 查询订单
     *
     * @param serialLogo 订单ID
     * @return 订单
     */
    public ShopOrder selectShopOrderById(Long serialLogo);


    /**
     * 查询订单
     *
     * @param orderNo 订单ID
     * @return 订单
     */
    public ShopOrder selectShopOrderByIds(String orderNo);

    /**
     * 查询订单列表
     *
     * @param shopOrder 订单
     * @return 订单集合
     */
    public List<ShopOrder> selectShopOrderList(ShopOrder shopOrder);

    /**
     * 新增订单
     *
     * @param shopOrder 订单
     * @return 结果
     */
    public int insertShopOrder(ShopOrder shopOrder);

    /**
     * 修改订单
     *
     * @param shopOrder 订单
     * @return 结果
     */
    public int updateShopOrder(ShopOrder shopOrder);

    /**
     * 批量删除订单
     *
     * @param ids 需要删除的数据ID
     * @return 结果
     */
    public int deleteShopOrderByIds(String ids);

    /**
     * 删除订单信息
     *
     * @param serialLogo 订单ID
     * @return 结果
     */
    public int deleteShopOrderById(Long serialLogo);


    public int delivery(ShopOrderBreak orderBreak) throws Exception;


    public List<Map<String, Object>> queryOrder(ShopOrderBreak orderBreak);


}


